import { _decorator, Component } from 'cc';
import { Match3ZiUE } from './Match3ZiUE';
import { ResLoader } from '../../../core/modules/res/ResLoader';
const { ccclass, property } = _decorator;

@ccclass('Match3UI')
export class Match3UI extends Component {
    static R(loader: ResLoader) {
        loader.addUI(Match3ZiUE)
    }

    async start() {
        console.log(`主玩法界面`)
        let ziUE = gtr.ui.instantiate(Match3ZiUE);
        ziUE.node.setParent(this.node);
        ziUE.init();
    }
}